package com.sishu.njrtsdms.domain.dto;

import org.jooq.types.ULong;

import java.io.Serializable;
import java.math.BigDecimal;

import jakarta.validation.constraints.DecimalMin;
import jakarta.validation.constraints.Digits;
import jakarta.validation.constraints.NotNull;
import lombok.Builder;


/**
 * 项目审核传输类
 *
 * @param auditProjectLevelDictId      审核项目等级字典id
 * @param auditProjectPrizeOrderDictId 审核项目等次字典id
 * @param auditProjectGpaBonusMark     审核项目绩点评分
 * @param auditOpinion                 审核意见
 * @param auditOperDictId              审核操作字典id
 * @param remark                       备注
 */
@Builder
public record TeachConPrjAuditDTO(
        ULong auditProjectLevelDictId,
        ULong auditProjectPrizeOrderDictId,
        @Digits(integer = 10, fraction = 2, message = "绩点评分长度最长为10,小数点最多两位")
        @DecimalMin(value = "0.00", message = "绩点评分最低为0分")
        BigDecimal auditProjectGpaBonusMark,
        String auditOpinion,
        @NotNull(message = "审核操作不可为空")
        ULong auditOperDictId,
        String remark

) implements Serializable {
}
